﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace Core.Xml.Ogc.Ows
{
    class DomainType : UnNamedDomainType, IXmlType
    {
        public string Name { get; set; }

        public XElement CreateXElement(XName elementName)
        {
            XElement domain =base.CreateXElement(elementName);
            domain.Add(new XAttribute(Namespaces.OWS + "name", Name));
            return domain;
        }
    }
}
